package cn.aitrox.ry.service.config.dto.in;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class ComponentCreateInDto {

    @NotEmpty(message = "名称不能为空")
    private String name;

    @NotEmpty(message = "类型不能为空")
    private String type;

    private String parameter;

    private String data;

}
